var msg = ["name","mail","qq","num"];
var stdin = process.stdin;
var index=0;
var infor=[];
console.log(msg[0]+":");

stdin.on("data",function(chunk){
    var str= chunk.toString("utf-8");
    infor[index]=str;
    if(index==3){
        for(var i=0;i<4;i++){
            console.log(msg[i]+":"+infor[i]);
        }
        process.exit();
    }
    else{
        index++;
        console.log(msg[index]+":");
    }
})